#include <iostream>
#include "Person.h"

void Person::setName(std::string theName)
{
    name = theName;
}

void Person::setAge(int theAge)
{
    age = theAge;
}

void Person::show()
{
    setTotal();
    std::cout << "name:" << name << std::endl;
    std::cout << "age:" << age << std::endl;
    std::cout << "total:" << total << std::endl;
}
